<template>
    <n-result status="404" title="404 页面不存在" description="页面走丢了QAQ">
        <template #footer>
            <n-button @click="router.push({ name: 'Home' })">返回主页</n-button>
        </template>
    </n-result>
</template>

<script setup lang='ts'>
import { useRouter } from 'vue-router';

// 引入路由
const router = useRouter()
</script>

<style scoped>
.n-result {
    margin: 150px auto;
}
</style>